package com.lx.pc.domain.entity.user;

import org.springframework.data.mybatis.annotations.Column;
import org.springframework.data.mybatis.annotations.Entity;

import com.lx.pc.domain.entity.AbstractBaseEntity;

/**
 * 用户实体
 * @author houzhong
 *
 */
@Entity(table = "t_user_base")
public class UserEntity extends AbstractBaseEntity{

	private static final long serialVersionUID = 1L;
	
	/**
	 * 账号
	 */
	@Column(name = "user_name")
	private String userName;
	
	/**
	 * 密码
	 */
	@Column(name = "password")
	private String password;
	
	/**
	 * 邮箱
	 */
	@Column(name = "email")
	private String email;
	
	/**
	 * 性别 1 男 2 女
	 */
	@Column(name = "sex")
	private int sex;
	
	/**
	 * 联系人
	 */
	@Column(name = "contacts")
	private String contacts;

	/**
	 * 联系电话
	 */
	@Column(name = "telephone")
	private String telephone;
	
	/**
	 * 地区
	 */
	@Column(name = "province")
	private String province;
	
	/**
	 * 市
	 */
	@Column(name = "city")
	private String city;
	
	/**
	 * 区
	 */
	@Column(name = "area")
	private String area;
	
	/**
	 * 详细地址
	 */
	@Column(name = "address")
	private String address;
	
	/**
	 * 状态 1 正常 2 禁用
	 */
	@Column(name = "status")
	private int status;
	
	/**
	 * 用户类型 1 个人 2 个体 3 企业
	 */
	@Column(name = "type")
	private int type;
	
	/**
	 * 状态 1 未认证 2 认证失败 3 认证成功
	 */
	@Column(name = "audit_status")
	private int auditStatus;

	/**
	 * 来源 1 微信个人2 pc 3 微信企业 4 司机
	 */
	@Column(name = "wx_type")
	private Integer wxType;
	
	/**
	 * 微信openid
	 */
	@Column(name = "wx_open_id")
	private String wxOpenId;
	
	/**
	 * 用户头像
	 */
	@Column(name = "user_img")
	private String userImg;
	
	/**
	 * 用户昵称
	 */
	@Column(name = "nick_name")
	private String nickName;
	
	/**
	 * 精度
	 */
	@Column(name = "lat")
	private String lat;
	/**
	 * 纬度
	 */
	@Column(name = "lng")
	private String lng;
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(int auditStatus) {
		this.auditStatus = auditStatus;
	}

	public Integer getWxType() {
		return wxType;
	}

	public void setWxType(Integer wxType) {
		this.wxType = wxType;
	}

	public String getWxOpenId() {
		return wxOpenId;
	}

	public void setWxOpenId(String wxOpenId) {
		this.wxOpenId = wxOpenId;
	}

	public String getUserImg() {
		return userImg;
	}

	public void setUserImg(String userImg) {
		this.userImg = userImg;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getLat() {
		return lat;
	}

	public void setLat(String lat) {
		this.lat = lat;
	}

	public String getLng() {
		return lng;
	}

	public void setLng(String lng) {
		this.lng = lng;
	}

	
}
